package com.vito.framework.system.operatelog.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vito.framework.base.model.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/***************************************************************
 * Name:        OperateLogBean.java     
 * Create At:   2012-06-07
 * Module:      信息查询
 * Description: [操作日志信息]
 * Author       miaowenqiang
 * ------------------------------------------------------------
 * 修改历史
 * 序号  日期  修改人   修改原因
 * 1
 * 2
 ***************************************************************/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_operate_log")
@ApiModel(value = "sys_operate_log对象", description = "日志管理表")
public class OperateLogBean extends Entity<OperateLogBean> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "operate_id", type = IdType.AUTO)
    private String operateId;

    @TableField("org_id")
    @ApiModelProperty("机构编码")
    private String orgId;

    @TableField("menu_d")
    @ApiModelProperty("操作菜单")
    private String menuId;

    @TableField("menu_name")
    @ApiModelProperty("菜单名称")
    private String menuName;

    @TableField("operate_type")
    @ApiModelProperty("操作类型 0登陆 1增 2删 3改 4查 5导入 6导出")
    private String operateType;

    @TableField("remark")
    @ApiModelProperty("描述")
    private String remark;

    @TableField("content")
    @ApiModelProperty("参数")
    private String content;

    @TableField("ip")
    @ApiModelProperty("ip")
    private String ip;

    @TableField("opdate")
    @ApiModelProperty("操作日期")
    private String opdate;

    @TableField("operator")
    @ApiModelProperty("操作人")
    private String operator;

    @TableField("operatorid")
    @ApiModelProperty("操作人编号")
    private String operatorid;
}
